package com.cetccst.securitysuite.network.respone;

import com.google.gson.annotations.SerializedName;

import org.simpleframework.xml.Element;

public class UserResponse extends BaseResponse{
    @Element(name = "data")
    @SerializedName("data")
    private UserDto user;

    public UserDto getUser() {
        return user;
    }

    public void setUser(UserDto user) {
        this.user = user;
    }

    public static class UserDto {
        @Element(name = "userName")
        @SerializedName("userName")
        private String userName;
        @Element(name = "userNumber")
        @SerializedName("userNumber")
        private String userNumber;

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserNumber() {
            return userNumber;
        }

        public void setUserNumber(String userNumber) {
            this.userNumber = userNumber;
        }
    }
}
